package com.example.springbootdemo09.service;

import com.example.springbootdemo09.domain.Student;
import com.example.springbootdemo09.query.StudentQuery;
import com.example.springbootdemo09.utils.R;

import java.util.List;

public interface IStudentService {
    R add(Student student);
    //查询所有
    List<Student> findAll();
    //查询单个
    Student findOne(Long id);
    //修改
    R  updete(Student student);
    //删除
    R  delete(Long id);
 R fenye(StudentQuery studentQuery);
    //批量删除
    R pathDele(Long[] id);
}
